(Fdo_auto_save): Catch error making directory.
authorRichard M. Stallman <rms@gnu.org>
Wed, 11 Sep 2002 02:03:24 +0000 (02:03 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 11 Sep 2002 02:03:24 +0000 (02:03 +0000)
commitea4b62fe2ff1374facf99439a12b85d8bc70462d
tree1aef584758b84bee1dc45b92d26da74bc3feae92
parent85b1f4b63370f341301a94490380f1ce1f2630d4
(Fdo_auto_save): Catch error making directory.
Only call push_message if we need to.
At the same time, make an unwind-protect to pop it.
Rename local message_p to old_message_p.
(do_auto_save_make_dir, do_auto_save_eh): New functions.
(do_auto_save_unwind): Don't call pop_message.
src/fileio.c